﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace dataSendModel
{
    public class ReaderState
    {
        private string readerId;

        public string ReaderId
        {
            get { return readerId; }
            set { readerId = value; }
        }
        private int sensitivity1;

        public int Sensitivity1
        {
            get { return sensitivity1; }
            set { sensitivity1 = value; }
        }
        private int sensitivity2;

        public int Sensitivity2
        {
            get { return sensitivity2; }
            set { sensitivity2 = value; }
        }
        private int temperature;

        public int Temperature
        {
            get { return temperature; }
            set { temperature = value; }
        }
        private int uploadTime;

        public int UploadTime
        {
            get { return uploadTime; }
            set { uploadTime = value; }
        }
        private DateTime recordTime;

        public DateTime RecordTime
        {
            get { return recordTime; }
            set { recordTime = value; }
        }

        public ReaderState() { }
        public ReaderState(string readerId, int sensitivity1, int sensitivity2, int temperature, int uploadTime, DateTime recordTime)
        {
            this.readerId = readerId;
            this.sensitivity1 = sensitivity1;
            this.sensitivity2 = sensitivity2;
            this.temperature = temperature;
            this.uploadTime = uploadTime;
            this.recordTime = recordTime;
        }
    }
}
